package com.suxin.design.visitor;

/**
 * @author Tang
 * @classname ComputerDisplayPartVisitor
 * @description [  ]
 * @date 2022/9/20 13:46
 */
public class ComputerDisplayPartVisitor implements ComputerPartVisitor{

    @Override
    public void keyboard(Keyboard keyboard) {
        System.out.println("display keyboard...");
    }

    @Override
    public void mouse(Mouse mouse) {
        System.out.println("display mouse...");
    }
}
